package cn.scw.project.facility.domain.netework.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 设备对象 fac_facility
 *
 * @author api
 * @date 2020-05-20
 */
@Data
@ApiModel("设备自动添加")
public class FacFacilityAutoAddReq {

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("经销商id")
    private Long dealerId;

    @ApiModelProperty("商品id")
    private Long commodityId;

    @ApiModelProperty("租赁方式（0设备采购，1设备租赁-包月，2设备租赁-两年赠机）")
    private String type;

    @ApiModelProperty("租赁月数")
    private Integer rentMonth;

    public FacFacilityAutoAddReq(String name, Long dealerId, Long commodityId, String type, Integer rentMonth) {
        this.name = name;
        this.dealerId = dealerId;
        this.commodityId = commodityId;
        this.type = type;
        this.rentMonth = rentMonth;
    }
}
